<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Order Your Food</title>
</head>
<body>
<h1>Order Your Food</h1>
	userName:
	<input id="name" type="text"> passWord:
	<input id="password" type="text">
	<button onclick="signUp()">loginIn</button>
	<hr />
	<h2>The Famous Restaurants</h2>
	<a href="seller1.html" class="detil-tile_cover" hidefocus="true"> <img
		alt="seller1" src="img/1.jpg" width="260" height="154"> <span
		class="deal-mark"> <span
			class="deal-mark_item deal-mark_item--pois" title="Mutil">Mutil</span>
			<span class="deal-mark_item deal-mark_nnbooking" title="Free Order">Free
				Order</span>
	</span>
	</a>
	<h3 class="deal-title_title">
		<a href="seller1.html" class="w-link" title="seller1"> <span
			class="xtitle">【all restaurants】</span> <span class="short-title">buy
				one with another</span>
		</a>
	</h3>
	<p class="deal-title_detail">
		<span class="price"> $ <strong>10</strong>
		</span> <span> selled <strong>1000</strong>
		</span>
	</p>
	<p></p>
	<a href="seller2.html"> <img alt="seller1" src="img/2.jpg"
		width="80" height="80"> <font size="10">the seller2 is
			opening!</font>
	</a>

	<script type="text/javascript">
		function signUp() {
			var n = document.getElementById("name").value;
			var p = document.getElementById("password").value;
			if (n == "admin" && p == "admin")
				window.location.href = "manager.html";
			else if (n == "seller")
				window.location.href = "seller.html";
			else
				window.location.href = "consumer.html"
		}
	</script>
</body>
</html>